html {
  height: 100%;
  margin-bottom: 0px;
}

form {
  margin: 0;
  padding: 0;
}

img,table {
	border:none;
}

body {
	font-family: Helvetica, Arial, sans-serif;
	line-height: 1.3em;
	margin: 0px 0px 0px 0px;
	font-size: 12px;
	color: #333;
}

p {
  margin-top: 0;
  margin-bottom: 5px;
  text-align: justify;
}

a:link, a:visited {
	color: #000;
	font-weight: normal;
	text-decoration: underline;	
}
/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/

div.center {
  text-align: center;
  margin: 0px 0px;
}

div#wrapper {
	margin: 0px 0px;
}

body.width_medium div.center  {
	width: 960px;
}
body.width_small div.center {
	width: 780px;
}
body.width_fluid div.center {
	min-width: 1040px;
}

body.width_small div#leftcolumn {
	width: 26%;
}
body.width_small div#maincolumn {
	width: 71%;
}

body.width_medium div#leftcolumn {
	width: 21%;
}
body.width_medium div#maincolumn {
	width: 55%;
}
body.width_medium div#rightcolumn {
	width: 21%;
}

body.width_fluid div#leftcolumn {
	width: 20%;
}
body.width_fluid div#maincolumn {
	width: 57%;
}
body.width_fluid div#rightcolumn {
	width: 20%;
}

body.width_small div#maincolumn_full {
	width: 71%;
}
body.width_medium div#maincolumn_full {
	width: 76%;
}
body.width_fluid div#maincolumn_full {
	width: 78%;
}

div#header_r {
	padding: 0px 15px;
	text-align: left;
}

#logo {
	padding: 0px;
	text-align: right;
	margin: 0 auto;
	height: 180px;
	background: transparent url(../images/grey/logo.gif) 50% 100% no-repeat;	
}

#logo a, #logo a:link, #logo a:hover {
	font-weight: bold;
	font-family: Tahoma, Arial;
	font-size: 1.8em;
	padding: 0;
	margin: 0;
	line-height: 1.4em;
	text-decoration: none;
}

div#tabarea {
	width: 100%;
	text-align: left;
}

#search {	
	width: 300px;
	height: 50px;
	text-align: right;
	float: right;
}

#area {
	padding: 10px 0px;
	width: 100%;
}

#whitebox {
	margin: 0;
	width: auto;
}

#whitebox_m {
	width: auto;
	padding: 0px 0px;
	padding: 0px 0px;
	margin: 0 3px;
	text-align: left;
}

/* horizontal pill menu */
table.pill {
	margin: 0 auto;
	padding: 0;
	text-align: left;
}

td.pill_m {
	padding: 0;
	margin: 0;
	width: auto;
}

#pillmenu {
	white-space: nowrap;
	height: 31px;
	float: left;
}

#pillmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#pillmenu li {
	float: left;
	margin: 0;
	padding: 0;
}

#pillmenu a {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	float: left;
	display: block;
	height: 31px;
	line-height: 31px;
	padding: 0 14px;
	text-decoration: none;
}

#leftcolumn ,#rightcolumn {
	margin: 0;
	width: 16%;
	float: left;
}

div#maincolumn {
	padding: 0 10px;
	float: left;
	width: 64%;
}
div#maincolumn_full {
	padding: 0 10px;
	width: 80%;
	float: left;
}

div.nopad {
	padding: 0;
}

td.middle_pad {
	width: 20px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

/* headers */
div.componentheading {
	padding-top: 6px;
}

h1 {
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	text-align: left;
	width: 100%;
}

h2 {
	padding: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	text-align: left;
	width: 100%;
}

.contentheading {
	background: transparent url(../images/grey/li-bg5.gif);		
	background-position: left top;
	border: 1px solid #c3c3c3;
	padding:10px;	
	vertical-align: bottom;
	text-align: left;
	width: 100%;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: bold;	
}

.contentvirtual{
	background: transparent url(../images/grey/li-bg6.gif);		
	background-position: left top;
	padding:5px;
	vertical-align: center;
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	color: #1C405E;
	margin:0px;
}

.contentvirtual2{
	background: transparent url(../images/grey/li-bg5.gif);		
	background-position: left top;
	padding:5px;
	vertical-align: center;
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	color: #298448;
	margin:0px;
}

.contentvirtual a{
	background: transparent url(../images/grey/li-bg6.gif);		
	background-position: left top;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: underline;
	color: #1C405E;
}

.contentvirtual a:hover{
	color: #000;
}

table.contentpaneopen h3 {
	margin-top: 25px;
	width:100%;
}

h3, .componentheading, table.moduletable th, legend {
	margin: 0;
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.4em;
	padding-left: 0px;
	margin-bottom: 10px;
	text-align: left;
}

h4 {
	font-family: Helvetica, Arial, sans-serif;
}

/* small text */
.small {
	font-size: 9px;
	font-weight: normal;
	text-align: left;
}

.modifydate {
	height: 20px;
	vertical-align: bottom;
	font-size: 9px;
	font-weight: normal;
	text-align: left;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: 9px;
	font-weight: normal;
	vertical-align: top;
	padding: 0 0 5px 0;
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/* spacers */
span.article_separator {
	display: block;
	height: 20px;
}
/*в блоге остальные новости */ 
.article_column {
	padding-right: 0px;	
}

.column_separator {
	padding-left: 10px;
}

td.buttonheading {
	text-align: right;
	background: transparent url(../images/grey/li-bg1.gif);		
	background-position: left bottom;
	border: 1px solid #c3c3c3;
}

.clr {
	clear: both;
}


div#maindivider {
	border-top: 1px solid #ddd;
	margin-bottom: 10px;
	overflow: hidden;
	height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 20px;
}

/* table of contents */
table.contenttoc {
	margin: 5px;
	border: 1px solid #ccc;
	padding: 5px;
}

table.contenttoc td {
	padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
	font-weight: bold;
	padding: 4px;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
	padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
	padding: 3px;
}


/* content styles */
table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 5px;
	text-align: left;	
	background: #ffffff;
	border: 1px solid #C3C3C3;
	width: 102%;
}

table.contentpane ul{
	text-align: left;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	font-family: Helvetica, Arial, sans-serif;
	color: #333;
}

.highlight {
	background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable {
	margin-bottom: 25px;
}

#leftcolumn div.module table ,#rightcolumn div.module table {
	
}

#leftcolumn h3, #rightcolumn h3 {
	margin: 0;
	font-weight: bold;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.1em;
	padding: 0 0 0 10px;
	line-height: 29px;
	text-align: left;
}

.latestnews{
	padding-left: 4px;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-right: 4px;
	margin:0px;
	list-style-position: inside;
	list-style-image:url("../images/grey/sort0.png");
	background-color: #ffffff;
	font-size: 12px;
	line-height: 1.5em;
	text-indent:0em;
	
}
.latestnews li{	
	background-color: #ffffff;
	text-decoration: none;
	text-indent:0em;
}

.latestnews a{	
	background-color: #ffffff;
	text-decoration: none;	
}

.latestnews a:hover{	
	background-color: #ffffff;
	text-decoration: underline;	
}

/*===============меню==================*/
/*  Main Menu */

.module_menu *{ /* тут еще и H3 попадает под раздачу */
	padding:0;
	margin:0;
}
.module_menu ul.menu {
	width:auto;               /* ваша ширина меню*/
	border:0px solid #CCC;     /* для красоты */
	background-color: #eef5ff;
}
.module_menu ul.menu li{
	display:block;
	position: relative;
	padding: 0px 0px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	border: 1px solid #FFFFFF;
}

.module_menu ul.menu li a{	
	border-bottom: 1px solid #222222;
	color: #1c405e;
	display:block;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: bold;  
	padding:5px;    
	text-decoration: none;  
}

.module_menu ul.menu li a:hover{	
	background-color: #2276bc;
}

.module_menu ul.menu li a:hover span{
	text-decoration: underline;
	color:#fff;
}

.module_menu ul.menu li ul{
	display:none;
	position:absolute;
	width:194px;                /* ваша ширина меню*/
	top: 0px;                   /* отступ сверху */
	left: 192px;                /* ваша ширина меню*/
    background-color: #ecf5fe; /* для красоты */
 }

 .module_menu ul.menu li ul li ul li ul{
	display:none;
	position:absolute;
	width:194px;                /* ваша ширина меню*/
	top: 0px;                   /* отступ сверху */
	left: 192px;                /* ваша ширина меню*/
  /*background-color: #fff;*/  /* для красоты */
 }
 
.module_menu ul.menu li:hover ul{
	display:block;
	z-index:2;
}
.module_menu ul.menu li:hover ul li ul{
	display:none;
}
.module_menu ul.menu li:hover ul li:hover ul{
	display:block;
	z-index:3;
	border:0px solid #ddd;
}
/* ----------------------*/
.module_menu ul.menu li:hover ul li:hover ul li ul{
	display:none;
}

.module_menu ul.menu li:hover ul li:hover ul li:hover ul{
	display:block;
	z-index:4;
	border:0px solid #ddd;
}

#current{

}

.parent {
	background-image : url(../images/grey/arrow2.gif);
	background-repeat: no-repeat;
	background-position: 98% center;
}

.active {
	background-color:#fff; 
}

/* ----------------------*/

.module_menu ul.menu li:hover ul{
	display:block;
	z-index:2;
}
.module_menu ul.menu li:hover ul li ul{
	display:none;
}
.module_menu ul.menu li:hover ul li:hover ul{
	display:block;
	z-index:3;
}

/* forms */
#leftcolumn .moduletable ul, #rightcolumn .moduletable ul {
	margin: 6px 0;
	padding: 0;
	list-style: none;
}

#leftcolumn .moduletable ul li, #rightcolumn .moduletable ul li {
	margin: 0;
	padding: 0 2px;
}

table.adminform textarea {
	width: 540px;
	height: 400px;
	font-size: 1em;
	color: #000099;
}

div.search input {
	margin-left: 2%;
    width: 94%;
}
div.search .button {
	width: 80px;
}

form#form-login fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
form#form-login ul { padding:10px 20px;margin:0; }

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; text-align: center; }

/* Parameter Table */
table.paramlist {
	margin-top: 5px;
}

table.paramlist td.paramlist_key {
	width: 128px;
	text-align: left;
	height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
	font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 10px;
	padding: 3px 20px;
}

/* Banners module */

/* Text advert style */

.banneritem_text {
	padding: 4px;
	font-size: 11px;
}

.bannerfooter_text {
	padding: 4px;
	font-size: 11px;
	text-align: right;
}

/* System Messages */
/* see system general.css */

.pagination span { padding: 2px; }
.pagination a    { padding: 2px; }

/* Polls */
.pollstableborder td {
	text-align: left;
}

/* Frontend Editing*/
fieldset {
	border: 1px solid #ccc;
	margin-top: 15px;
	padding: 15px;
}

legend {
	margin: 0;
	padding: 0 10px;
}

td.key {
	border-bottom: 1px solid #eee;
	color: #666;
}

/* Tooltips */
.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
}

.tool-title {
	padding: 0;
	margin: 0;
	font-size: 100%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text {
	font-size: 100%;
	margin: 0;
}

/* System Standard Messages */
#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat;}

/* System Error Messages */
#system-message dd.error ul { color: #c00; background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; border-top: 3px solid #DE7A7B; border-bottom: 3px solid #DE7A7B;}

/* System Notice Messages */
#system-message dd.notice ul { color: #c00; background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat; border-top: 3px solid #F0DC7E; border-bottom: 3px solid #F0DC7E;}

/* ********************************************************************** */

a.sgfooter:link, a.sgfooter:visited {
	font-family: Arial, sans-serif;
	text-decoration: none;
}
a.sgfooter:hover {
	font-family: Arial, sans-serif;
	text-decoration: none;
}
#sgf {
	font-size: 11px;
	text-align: center;
	width: 100%;
	margin: 0 auto;
	font-family: Arial, sans-serif;
}
.sgf {
	text-align: right;
	font-size: 11px;
	font-family: Arial, sans-serif;
	text-decoration: none;
}
.sgf1 {
	font-size: 11px;
	font-family: Arial, sans-serif;
	text-align:left;
}

a.sglink:link, a.sglink:visited {
	font-size: 11px;
	font-family: Arial, sans-serif;
	text-decoration: none;
}
a.sglink:hover {
	font-family: Arial, sans-serif;
	text-decoration: none;
}

/* fix */
.nopad fieldset {
	border:none;
	padding:0;
	margin:0 0 30px;
}
.nopad fieldset p {
margin:0 0 10px;
overflow:hidden;
}

.nopad fieldset label {
float: left;
}

.nopad fieldset input {
float:left;
}

.nopad fieldset #remember {
	margin:0 0 0 10px;
}

/* fix */

.blog_more{
	text-align: left;
}

#editcell{
	background: #FFFFFF;
	ceilpadding:6px; 
	border: 1px solid #000000; 
	padding: 6px;
}
#editcell table{
	border: 1px solid #000000;
	margin-bottom: 10px;
	border-spacing: 1px;
	/*border-collapse: collapse;*/
}

#editcell table thead tr th{
	background: #EEF5FF;
	border-bottom: 1px solid #999999;
	border-right: 1px solid #dfdfdf; 
	text-align: center;
	font-style: none;
}

#editcell table thead tr th a{
	text-decoration: none;	
	font-weight: bold;
	color: #16527B;
}
#editcell table thead tr th a:hover{
	text-decoration: underline;	
}

#editcell table tbody tr.row0 td{
	text-align: center;
	border-right: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
}

#editcell table tbody tr.row1 td{
	text-align: center;
	background: none repeat scroll 0 0 #F9F9F9;
    border-top: 1px solid #FFFFFF;
	border-right: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
}

#ob_top input {
    /*background: url("http://www.krasulinskoe.ru/site/img-object/exit.jpg") no-repeat scroll 0 0 transparent;*/
    border: 0 none;
    cursor: pointer;
    display: block;
    height: 10px;
    position: absolute;
    right: 22px;
    top: 16px;
    width: 9px;
}

#obj_txt  ul{
	margin:0px;
	padding-left:8px;	
	padding-top:0px;
	padding-bottom:0px;
	padding-right:0px;
}
.elpro{
    font-size: 12px;
    line-height: 1.5em;
    list-style-image: url("../images/grey/sort0.png");
    list-style-position: inside;
    margin: 0;
    padding: 4px;
    text-indent: 0;
}
.elpro li{
border: 1px solid #C3C3C3;
/* IE10 */ 
background-image: -ms-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%);

/* Mozilla Firefox */ 
background-image: -moz-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%);

/* Opera */ 
background-image: -o-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%);

/* Webkit (Safari/Chrome 10) */ 
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #F5F5F5));

/* Webkit (Chrome 11+) */ 
background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%);

/* Proposed W3C Markup */ 
background-image: linear-gradient(top, #FFFFFF 0%, #F5F5F5 100%);
}
.elpro li a:link,.elpro li a:visited{
	text-decoration: none;
	color:#000000;
}

.elpro li a:hover{
	text-decoration: underline;
	color:#000000;
}

.blog{
	width: 100%;
}

.num_quest{
	position:relative; 
	left: 30px;
}

.menu{
    background-color: #FFFFFF;
    font-size: 12px;
    line-height: 1.5em;
    list-style-image: url("../images/grey/sort0.png");
    list-style-position: inside;
    margin: 0;
    padding: 4px;
    text-indent: 0;
}